package com.leyou.search.service;

import reactor.core.publisher.Mono;

import java.util.List;

public interface IndexService {
    //创建索引库并设置映射
    void createIndexAndMapping();

    //加载数据到索引库
    void loadData();

    void saveGoodsById(Long spuId);

    void deleteGoodsById(Long spuId);
}
